<?php
session_start();

// unset($_SESSION['username']);
session_destroy(); // destroy all the session between you and the server

header("Location: ../index.php");